package com.kifas.model.xml;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author brainmaster
 * 
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class PenerimaanDetailModel implements Serializable {

	private static final long serialVersionUID = -1763959328818311168L;

	private Long idDetailPenerimaan;

	@XmlElement(name = "gudangModel", type = GudangModel.class)
	private GudangModel gudang;

	@XmlElement(name = "barangModel", type = BarangModel.class)
	private BarangModel barang;

	private Integer qty;

	private String noKontainer;

	private String keterangan;

	private String bulanKadaluarsa;

	private String createdBy;

	public PenerimaanDetailModel() {
	}

	public PenerimaanDetailModel(Long idDetailPenerimaan, GudangModel gudang, BarangModel barang, Integer qty, String noKontainer, String keterangan,
			String bulanKadaluarsa, String createdBy) {
		this.idDetailPenerimaan = idDetailPenerimaan;
		this.gudang = gudang;
		this.barang = barang;
		this.qty = qty;
		this.noKontainer = noKontainer;
		this.keterangan = keterangan;
		this.bulanKadaluarsa = bulanKadaluarsa;
		this.createdBy = createdBy;
	}

	public Long getIdDetailPenerimaan() {
		return idDetailPenerimaan;
	}

	public void setIdDetailPenerimaan(Long idDetailPenerimaan) {
		this.idDetailPenerimaan = idDetailPenerimaan;
	}

	public GudangModel getGudang() {
		return gudang;
	}

	public void setGudang(GudangModel gudang) {
		this.gudang = gudang;
	}

	public BarangModel getBarang() {
		return barang;
	}

	public void setBarang(BarangModel barang) {
		this.barang = barang;
	}

	public Integer getQty() {
		return qty;
	}

	public void setQty(Integer qty) {
		this.qty = qty;
	}

	public String getNoKontainer() {
		return noKontainer;
	}

	public void setNoKontainer(String noKontainer) {
		this.noKontainer = noKontainer;
	}

	public String getKeterangan() {
		return keterangan;
	}

	public void setKeterangan(String keterangan) {
		this.keterangan = keterangan;
	}

	public void setBulanKadaluarsa(String bulanKadaluarsa) {
		this.bulanKadaluarsa = bulanKadaluarsa;
	}

	public String getBulanKadaluarsa() {
		return bulanKadaluarsa;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public String getCreatedBy() {
		return createdBy;
	}

}
